﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Bonolariniz.aspx.cs" Inherits="Fabrikatorum.Fabrikator.Sayfa.Bonolariniz" %>
<div class="row">
    <div id="breadcrumb" class="col-md-12">
        <ol class="breadcrumb">
            <li><a href="Default.aspx#Sayfa/Anasayfa.aspx" class="ajax-link"><i class="fa fa-home"></i> <span class="hidden-xs"> Ana Sayfa</span></a></li>
            <li><a href="Default.aspx#Sayfa/Bonolariniz.aspx" class="ajax-link"><i class="fa fa-th-large"></i> <span class="hidden-xs"> Bonolarınız</span></a></li>
        </ol>
       
    </div>
</div>
	<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
		<div class="box">
			<div class="box-header">
				<div class="box-name">
					<i class="fa fa-th-large"></i>
					<span>Bono Oluşturma, Bono Talimatı Verme, Talimat İptali, Satın Alınan Bonolar</span>
				</div>
				<div class="box-icons pull-right">
					<a class="collapse-link">
						<i class="fa fa-chevron-up"></i>
					</a>
					<a class="expand-link">
						<i class="fa fa-expand"></i>
					</a>
					<a class="close-link">
						<i class="fa fa-times"></i>
					</a>
				</div>
				<div class="no-move"></div>
			</div>
			<div class="box-content">
                          <div class="col-md-6 col-lg-6 col-sm-6 col-xs-6 text-center">Bono Sayısı: <label><%=bonocikarmaadet %> / 20</label></div>
          <div class="col-md-6 col-lg-6 col-sm-6 col-xs-6 text-center">Bono Limiti: <label> <%=bonocikarmatutar%> TL</label></div>
					<ul id="tabozel" class="nav nav-tabs">
						<li><a href="Sayfa/BonoOlustur.html">Bono Oluştur (<%=bonocikarmaadet %> / 20)</a></li>
<%--						<li><a href="Sayfa/Bonolar.aspx?Turu=Yeni">Bono Oluştur (<%=bonocikarmaadet %> / 20)</a></li>--%>
						<li><a href="Sayfa/Bonolar.aspx?Turu=Talimat">Talimatlarınız (<%=talimatsayisi %>)</a></li>
						<li><a href="Sayfa/Bonolar.aspx?Turu=Satilan">Satılan Bonolar (<%=satilanbono %>)</a></li>
						<li><a href="Sayfa/Bonolar.aspx?Turu=Bitmis">Vadesi Dolanlar (<%=dolmusbono %>)</a></li>
						<li><a href="Sayfa/Bonolar.aspx?Turu=Alinan">Satın Aldığınız (<%=satinalinanbono %>)</a></li>
					</ul>
                    <div class="tab-content">		  <div id="ajax-icerik">
		    <p>Bonolar Tablosu</p>
		  </div></div>
                    

				</div>
		</div>
	</div>
<%--<div class="row">
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
<iframe runat="server" id="Iframe2" height="565" width="100%"   scrolling="no" 
            style="overflow-x:hidden;" frameborder="0" marginheight="0" marginwidth="0" 
            vspace="0" hspace="0" src="Sayfa/BonoOlustur.aspx">                
        </iframe>
</div>
</div>--%>
<script type="text/javascript">
$(document).ready(function() {
    $("#tabozel li a").click(function () {
        //setTimeout(function () {
            $("#ajax-icerik").empty().append("<div class='progress progress-striped active'><div class='progress-bar progress-bar-info' role='progressbar' aria-valuenow='100' aria-valuemin='0' aria-valuemax='100' style='width: 100%;'><span>40% Complete</span></div></div>");
        //}, 2000);
        
        //$("#tabozel li a").removeClass('current');
        //$(this).addClass('current');

        $.ajax({ url: this.href, success: function(html) {
            $("#ajax-icerik").empty().append(html);
            }
	});
	return false;
    });
    $("#ajax-icerik").empty().append("<div class='progress progress-striped active'><div class='progress-bar progress-bar-info' role='progressbar' aria-valuenow='100' aria-valuemin='0' aria-valuemax='100' style='width: 100%;'><span>40% Complete</span></div></div>");
	$.ajax({ url: 'Sayfa/BonoOlustur.html', success: function(html) { 
	    $("#ajax-icerik").empty().append(html);
	} 
    });

});
</script>


